package cn.yunyichina.provider.iface.entity.base;

import java.io.Serializable;

/**
*
* @Author auto_gen_by_tool
* @CreatedTime 2016-12-16 17:27:50
*/
public class MedicalCardVo implements Serializable{

     /**/
     private String id;
     public void setId(String id) {
          this.id = id;
     }
     public String getId() {
          return id;
     }

     /*医院ID*/
     private String orgId;
     public void setOrgId(String orgId) {
          this.orgId = orgId;
     }
     public String getOrgId() {
          return orgId;
     }

     /*医院名称*/
     private String orgName;
     public void setOrgName(String orgName) {
          this.orgName = orgName;
     }
     public String getOrgName() {
          return orgName;
     }

     /*医院CODE*/
     private String orgCode;
     public void setOrgCode(String orgCode) {
          this.orgCode = orgCode;
     }
     public String getOrgCode() {
          return orgCode;
     }

     /*患者ID*/
     private String patId;
     public void setPatId(String patId) {
          this.patId = patId;
     }
     public String getPatId() {
          return patId;
     }

     /*患者姓名*/
     private String patName;
     public void setPatName(String patName) {
          this.patName = patName;
     }
     public String getPatName() {
          return patName;
     }

     /*患者性别              1-男              2-女              3-UNKNOWN*/
     private Short patSex;
     public void setPatSex(Short patSex) {
          this.patSex = patSex;
     }
     public Short getPatSex() {
          return patSex;
     }

     /*患者年龄*/
     private Integer patAge;
     public void setPatAge(Integer patAge) {
          this.patAge = patAge;
     }
     public Integer getPatAge() {
          return patAge;
     }

     /*患者出生日期              yyyy-MM-dd*/
     private String patBirth;
     public void setPatBirth(String patBirth) {
          this.patBirth = patBirth;
     }
     public String getPatBirth() {
          return patBirth;
     }

     private String beginPatBirth;
     public void setBeginPatBirth(String beginPatBirth) {
          this.beginPatBirth = beginPatBirth;
     }
     public String getBeginPatBirth() {
          return beginPatBirth;
     }

     private String endPatBirth;
     public void setEndPatBirth(String endPatBirth) {
          this.endPatBirth = endPatBirth;
     }
     public String getEndPatBirth() {
          return endPatBirth;
     }

     /*患者手机号码*/
     private String patMobile;
     public void setPatMobile(String patMobile) {
          this.patMobile = patMobile;
     }
     public String getPatMobile() {
          return patMobile;
     }

     /*患者地址*/
     private String patAddress;
     public void setPatAddress(String patAddress) {
          this.patAddress = patAddress;
     }
     public String getPatAddress() {
          return patAddress;
     }

     /*HIS患者ID*/
     private String hisPatId;
     public void setHisPatId(String hisPatId) {
          this.hisPatId = hisPatId;
     }
     public String getHisPatId() {
          return hisPatId;
     }

     /*证件类型              1：二代身份证，               2：港澳居民身份证，               3：台湾居民身份证，               4：护照              */
     private Short idCardType;
     public void setIdCardType(Short idCardType) {
          this.idCardType = idCardType;
     }
     public Short getIdCardType() {
          return idCardType;
     }

     /*身份证号*/
     private String idCardNo;
     public void setIdCardNo(String idCardNo) {
          this.idCardNo = idCardNo;
     }
     public String getIdCardNo() {
          return idCardNo;
     }

     /*卡类型              1	院内诊疗卡              2	社保卡              3	医保卡              4	区域健康卡              5	身份证              6	市民卡              7	患者唯一标识              8	临时诊疗卡              9	医疗证              10	银联卡              11	住院号*/
     private Short medicalCardType;
     public void setMedicalCardType(Short medicalCardType) {
          this.medicalCardType = medicalCardType;
     }
     public Short getMedicalCardType() {
          return medicalCardType;
     }

     /*医疗卡号*/
     private String medicalCardNo;
     public void setMedicalCardNo(String medicalCardNo) {
          this.medicalCardNo = medicalCardNo;
     }
     public String getMedicalCardNo() {
          return medicalCardNo;
     }

     /*住院号*/
     private String admissionNo;
     public void setAdmissionNo(String admissionNo) {
          this.admissionNo = admissionNo;
     }
     public String getAdmissionNo() {
          return admissionNo;
     }

     /*是否有医保              0-无医保              1-有医保              */
     private Short isInsurance;
     public void setIsInsurance(Short isInsurance) {
          this.isInsurance = isInsurance;
     }
     public Short getIsInsurance() {
          return isInsurance;
     }

     /*医保卡号*/
     private String insuranceCardNo;
     public void setInsuranceCardNo(String insuranceCardNo) {
          this.insuranceCardNo = insuranceCardNo;
     }
     public String getInsuranceCardNo() {
          return insuranceCardNo;
     }

     /*绑卡方式              0-绑定              1-建档*/
     private Short bindWay;
     public void setBindWay(Short bindWay) {
          this.bindWay = bindWay;
     }
     public Short getBindWay() {
          return bindWay;
     }

     /*绑卡来源              1:微信;2:支付宝;3:APP*/
     private Short bindSourceFlag;
     public void setBindSourceFlag(Short bindSourceFlag) {
          this.bindSourceFlag = bindSourceFlag;
     }
     public Short getBindSourceFlag() {
          return bindSourceFlag;
     }

     /*绑卡来源应用标识              应用APP_CODE*/
     private String bindSourceAppCode;
     public void setBindSourceAppCode(String bindSourceAppCode) {
          this.bindSourceAppCode = bindSourceAppCode;
     }
     public String getBindSourceAppCode() {
          return bindSourceAppCode;
     }

     /*监护人用户ID*/
     private String guardId;
     public void setGuardId(String guardId) {
          this.guardId = guardId;
     }
     public String getGuardId() {
          return guardId;
     }

     /*监护人姓名*/
     private String guardName;
     public void setGuardName(String guardName) {
          this.guardName = guardName;
     }
     public String getGuardName() {
          return guardName;
     }

     /*证件类型              1：二代身份证，               2：港澳居民身份证，               3：台湾居民身份证，               4：护照*/
     private Short guardIdCardType;
     public void setGuardIdCardType(Short guardIdCardType) {
          this.guardIdCardType = guardIdCardType;
     }
     public Short getGuardIdCardType() {
          return guardIdCardType;
     }

     /*监护人证件号*/
     private String guardIdCardNo;
     public void setGuardIdCardNo(String guardIdCardNo) {
          this.guardIdCardNo = guardIdCardNo;
     }
     public String getGuardIdCardNo() {
          return guardIdCardNo;
     }

     /*监护人电话*/
     private String guardMobile;
     public void setGuardMobile(String guardMobile) {
          this.guardMobile = guardMobile;
     }
     public String getGuardMobile() {
          return guardMobile;
     }

     /*监护人地址*/
     private String guardAddress;
     public void setGuardAddress(String guardAddress) {
          this.guardAddress = guardAddress;
     }
     public String getGuardAddress() {
          return guardAddress;
     }

     /*是否可用              0-禁用              1-启用*/
     private Short enableFlag;
     public void setEnableFlag(Short enableFlag) {
          this.enableFlag = enableFlag;
     }
     public Short getEnableFlag() {
          return enableFlag;
     }

     /*描述*/
     private String description;
     public void setDescription(String description) {
          this.description = description;
     }
     public String getDescription() {
          return description;
     }

     /*创建时间*/
     private String createdTime;
     public void setCreatedTime(String createdTime) {
          this.createdTime = createdTime;
     }
     public String getCreatedTime() {
          return createdTime;
     }

     private String beginCreatedTime;
     public void setBeginCreatedTime(String beginCreatedTime) {
          this.beginCreatedTime = beginCreatedTime;
     }
     public String getBeginCreatedTime() {
          return beginCreatedTime;
     }

     private String endCreatedTime;
     public void setEndCreatedTime(String endCreatedTime) {
          this.endCreatedTime = endCreatedTime;
     }
     public String getEndCreatedTime() {
          return endCreatedTime;
     }

     /*更新时间*/
     private String updateTime;
     public void setUpdateTime(String updateTime) {
          this.updateTime = updateTime;
     }
     public String getUpdateTime() {
          return updateTime;
     }

     private String beginUpdateTime;
     public void setBeginUpdateTime(String beginUpdateTime) {
          this.beginUpdateTime = beginUpdateTime;
     }
     public String getBeginUpdateTime() {
          return beginUpdateTime;
     }

     private String endUpdateTime;
     public void setEndUpdateTime(String endUpdateTime) {
          this.endUpdateTime = endUpdateTime;
     }
     public String getEndUpdateTime() {
          return endUpdateTime;
     }

     /**/
     private String dataSource;
     public void setDataSource(String dataSource) {
          this.dataSource = dataSource;
     }
     public String getDataSource() {
          return dataSource;
     }

     private String familyId;

     public String getFamilyId() {
          return familyId;
     }

     public void setFamilyId(String familyId) {
          this.familyId = familyId;
     }

     private String appId;

     private String openId;

     public String getAppId() {
          return appId;
     }

     public void setAppId(String appId) {
          this.appId = appId;
     }

     public String getOpenId() {
          return openId;
     }

     public void setOpenId(String openId) {
          this.openId = openId;
     }

     /*分院ID*/
     private String branchId;
     public void setBranchId(String branchId) {
          this.branchId = branchId;
     }
     public String getBranchId() {
          return branchId;
     }

     /*分院名*/
     private String branchName;
     public void setBranchName(String branchName) {
          this.branchName = branchName;
     }
     public String getBranchName() {
          return branchName;
     }

     /*分院编码*/
     private String branchCode;
     public void setBranchCode(String branchCode) {
          this.branchCode = branchCode;
     }
     public String getBranchCode() {
          return branchCode;
     }

     @Override
     public boolean equals(Object o) {
          if (this == o) return true;
          if (o == null || getClass() != o.getClass()) return false;

          MedicalCardVo that = (MedicalCardVo) o;

          if (orgCode != null ? !orgCode.equals(that.orgCode) : that.orgCode != null) return false;
          return medicalCardNo != null ? medicalCardNo.equals(that.medicalCardNo) : that.medicalCardNo == null;

     }

     @Override
     public int hashCode() {
          int result = orgCode != null ? orgCode.hashCode() : 0;
          result = 31 * result + (medicalCardNo != null ? medicalCardNo.hashCode() : 0);
          return result;
     }
}